﻿using CoreLibrary.Sql.Linq;

namespace IBBITest.DataBase.Mock {

    public class ConnectionProviderMock {

        private static ILinqConnectionProvider _instance;

        public static ILinqConnectionProvider Instance {
            get {
                if (_instance == null) {
                    _instance = new LinqConnectionProvider {
                        ConnectionString = @"Data Source=(local)\SQLEXPRESS;Initial Catalog=IBBI;user id=IBBI;password=P@ssw0rd"
                    };   
                }
                return _instance;
            }
        }

    }
}